/**
 * 
 */
package edu.scsu.csci.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import edu.scsu.csci.IView;
import edu.scsu.csci.view.JSPView;

/**
 * Gives the view clazz name.  
 * @author Maqbool Khan.
 */
@Target( { ElementType.TYPE, ElementType.METHOD })
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
public @/**
 * @viz.diagram AView.tpx
 */
interface AView {
	
	/**
	 * AView clazz.
	 * 
	 * @return list
	 */
	 Class<? extends IView> viewImlementation() default JSPView.class;
	
	/**
	 * Resource location.
	 * 
	 * @return resource location
	 */
	 String resourceLocation() default "";
	
	/**
	 * Resource name.
	 * 
	 * @return resourceName
	 */
	 String resourceName();
	
	/**
	 * Error resource name.
	 * 
	 * @return
	 */
	 String errorResourceName ();
	
	/**
	 * Error resource location.
	 * 
	 * @return
	 */
	 String errorResourceLocation () default "";
}
